﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HAMath
{
   public   class IntersectPolygonResult
    {

        private bool _isInPolygon = false;
       /// <summary>
       /// 标记是否有交集
       /// </summary>
        public bool IsInPolygon
        {
            get { return _isInPolygon; }
            set { _isInPolygon = value; }
        }


        private double _resultValue = 0.0;
       /// <summary>
       /// 记录结果：点和多边形的交集为0.0；线和多边形的交集为线的长度；多边形和多边形的交集为面积
       /// </summary>
        public double ResultValue
        {
            get { return _resultValue; }
            set { _resultValue = value; }
        }



    }
}
